package org.gongliang.jsmile.common.constants;

/**
 * 系统常量
 * 
 * @author 龚亮
 *
 */
public class KConstant {

	/**
	 * 强制退出
	 */
	public static final String SESSION_FORCE_LOGOUT_KEY = "session.force.logout";

	/**
	 * 移动端登录标识(带有该标识，且值为mobile无需验证码)
	 */
	public static final String JSMILE_MOBILE = "jsmile.mobile";
	public static final String JSMILE_MOBILE_NAME = "mobile";

	/**
	 * 数据字典缓存常量
	 */
	public static final String SYS_DICT_CACHE = "sys_dict_data";

	public static final String ALL = "-1";

	public static class TASK {
		/**
		 * 任务调度常量
		 */
		public static final String SCHEDULE_JOB = "jsmileScheduleJob";
		public static final String JOB_DATA_MAP = "jsmile_job_data_map";
		
		/**
		 * 任务暂停
		 */
		public static final String STATUS_STOP = "0";
		/**
		 * 任务正常
		 */
		public static final String STATUS_NORMAL = "1";
	}
}
